const systemInfo = uni.getSystemInfoSync();

const getPlatform = () => {
  let platform = "H5";
  // #ifdef APP-PLUS
  platform = 'App';
  // #endif
  // #ifdef APP-PLUS-NVUE
  platform = 'App';
  // #endif
  // #ifdef H5
  platform = 'H5';
  // #endif
  // #ifdef MP-WEIXIN
  platform = 'MP-WEIXIN'
  // #endif
  return platform
}

export default {
  systemInfo,
  getPlatform
};
